'use strict';

/**
 * Module dependencies.
 */

module.exports = function(app) {
    // User Routes
    var users = require('../controllers/users.server.controller');

    app.route('/open/password/forgot').post(users.forgot);
    app.route('/open/password/reset').post(users.reset);
    app.route('/api/password/change').post(users.change);

    // Setting up the users authentication api
    //app.route('/api/auth/signup').post(users.signup);
    app.route('/open/auth/signin').post(users.signin);
    //app.route('/api/auth/signout').get(users.signout);
};
